import request from '../utils/request.js';
// 相册

// 获取所有的图片
export const postProAll = (page, pageSize) => {
  return request({
    method: 'post',
    url: '/album/queryPage',
    headers: { 'Content-Type': 'application/json' },
    data: { page: page, pageSize: pageSize },
  });
};

//  获取 分页获取 id的所有图片
export const postProId = (page, pageSize, tagsId) => {
  return request({
    method: 'post',
    url: '/album/queryPage',
    headers: { 'Content-Type': 'application/json' },
    data: { page: page, pageSize: pageSize, tagsId: tagsId },
  });
};

//  获取 所有相册标签
export const postProTagAll = () => {
  return request({
    method: 'post',
    url: '/albumTag/findAll',
  });
};
